package com.wtf.dsp.admin.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * ClassName: NsPageDTO
 * Description:
 * date: 2023/7/7 17:50
 *
 * @author linhuanyou
 * @version 1.0
 */
@Data
@ToString
@ApiModel("用户新增请求类")
public class UserAddDTO {
    @ApiModelProperty(value = "用户名")
    @NotBlank(message = "请输入用户名")
    private String username;
    @ApiModelProperty(value = "密码")
    @NotBlank(message = "请输入密码")
    private String password;
}
